<!DOCTYPE html>
<html>
<head>
	<include file="Public:common-css" />
	<link type="text/css" rel="stylesheet" href="__ICSS__/list.css" />
</head>
<body>
<div class="container">
<!-------------------------header--------------------------------->
<include file="Public:header" />
<!--------------------------content------------------------------->
	<div class="clr"></div>
    <div class="content">
    	<div class="left-item-content">
    		<div class="left-item-content-title">精品推荐</div>
    		<foreach item="it" name="data.productList">
    		<div class="m-floor-content-item">
                <div class="m-floor-content-photo">
                    <a href="__ROOT__/Product/details?productId=<{$it.id}>"><img src="__IMGROOT__<{$it.photo}>" height="160" width="160"></a>
                </div>
                <div class="m-floor-content-title"><a href="__ROOT__/Product/details?productId=<{$it.id}>" title="<{$it.name}><{$it.spec}>"><{$it.name}><{$it.spec}></a></div>
                <div class="m-floor-content-buy">
                    <font style="display:none;">0</font>
                    <div class="m-floor-content-price msyh red">￥<font><{$it.price}></font></div>
                    <div class="m-floor-content-join-cart"><input value="<{$it.id}>" class="product-id" type="hidden"><a class="addToCart" href="javascript:void(0)"></a></div>
                </div>
            </div>
            </foreach>
    	</div>
        <div class="right-item-content">
        	<div class="breadcrumbs gray7">
            	<a href="__ROOT__">首页</a>
                &gt;
                <a href="__ROOT__/Product">所有分类</a>
                &gt;
                <span><{$data.name}></span>
            </div>
            <div class="right-item-box m-floor-content-item">
            	<div class="right-item-left-photo m-floor-content-photo">
                	<a href="javascript:void(0)"><img src="__IMGROOT__<{$data.photo}>" width="300" height="300"/></a>
                </div>
                <div class="right-item-information">
                	<div class="right-item-information-title">
                    	<h1 class="msyh"><{$data.name}></h1>
                    </div>
                    <div class="clr"></div>
                    <ul>
                    	<li><span>价格：</span><div class="m-floor-content-price"><em class="red msyh">￥<font class="information-item-price"><{$data.price}></font></em></div></li>
                    	<li><span>规格：</span><div><{$data.spec}> </div></li>
                    	<li><span>库存：</span><div><{$data.num}> </div></li>
                        <li><span>描述：</span><div><{$data.desc}></div></li>
                    </ul>
                    <div class="clr"></div>
                    <div class="right-item-btn-box">
                    	<input value="4" class="product-id" type="hidden">
                        <a href="javascript:void(0)" class="item-join-cart-btn addToCart">加入购物车</a>
                    </div>
                </div>
                <div class="clr"></div>
            </div>
            <div class="right-item-infomation">
            	<div class="right-item-infomation-title">商品详情</div>
            	<div class="right-item-infomation-content">
            		<if condition="empty($data['content'])"><p class="no-more-box"><img src="__IIMG__/no-order.png" width="80"/><span>没有商品详情</span></p></if>
            		<foreach item="photo" name="data.content">
            			<img src="__IMGROOT__/<{$photo}>" />
            		</foreach>
            	</div>
            </div>
        </div>
        <div class="clr"></div>
    </div>
    <div class="clr"></div>
<!--------------------------content-end--------------------------->
    <include file="Public:footer" />
</div>

</body>
<include file="Public:common-js" />
<script type="text/javascript">
$(function() {
	
})
</script>

</html>
